package com.bxj.wxtt.dubbo;

import com.bxj.wxtt.api.domain.AdvContent;
import com.bxj.wxtt.api.service.IAdvContentDubboService;
import com.bxj.wxtt.service.AdvContentService;
import com.ifeng.matrix.common.domain.PageResult;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 由MyBatis Generator工具自动生成 2018-07-18 19:49:05
 */
@Component("advContentDubboService")
public class AdvContentDubboServiceImpl implements IAdvContentDubboService {
    @Resource
    AdvContentService advContentService;

    public AdvContent selectById(Long id) {
        return advContentService.selectById(id);
    }

    public List<AdvContent> getAdvContentList(AdvContent advContent) {
        return advContentService.getAdvContentList(advContent);
    }

    public PageResult<AdvContent> getAdvContentPage(AdvContent advContent) {
        return advContentService.getAdvContentPage(advContent);
    }

    public int insert(AdvContent advContent) {
        int ret = advContentService.insert(advContent);
        return ret;
    }

    public int updateAdvContentById(AdvContent advContent) {
        return advContentService.updateAdvContentById(advContent);
    }
}